package edu.biwu.service;

import edu.biwu.dao.HelloDao;

import java.util.Date;

/**
 * @author 王俊彪
 * @version 1.0
 */
public class InjectionService02 {
    private int num;
    private String name;
    private Date date;
    private HelloDao helloDao;



    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public HelloDao getHelloDao() {
        return helloDao;
    }

    public void setHelloDao(HelloDao helloDao) {
        this.helloDao = helloDao;
    }

    @Override
    public String toString() {
        return "InjectionService02{" +
                "num=" + num +
                ", name='" + name + '\'' +
                ", date=" + date +
                ", helloDao=" + helloDao +
                '}';
    }
}
